<?php $cfgRelation = PMA_getRelationsParam(); ?>
<?php if ($cfgRelation['relwork'] ||
    PMA\libraries\Util::isForeignKeySupported($engine)): ?>
    <ul id="topmenu2">
        <?= PMA\libraries\Util::getHtmlTab(array(
            'icon' => 'b_props',
            'link' => 'tbl_structure.php',
            'text' => __('Table structure'),
            'id' => 'table_strucuture_id'
        ), $url_params); ?>
        <?= PMA\libraries\Util::getHtmlTab(array(
            'icon' => 'b_relations',
            'link' => 'tbl_relation.php',
            'text' => __('Relation view'),
            'id' => 'table_relation_id'
        ), $url_params); ?>
    </ul>
    <div class="clearfloat"></div>
<?php endif; ?>